<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.bootcss.com/jquery/1.11.3/jquery.js"></script>
</head>
<body>
<ul>
    <li name="2017-11-28">click1</li>
    <li>click2</li>
    <li>click3</li>
</ul>
<script>
    $(function(){
        $('li').click(function(event){
            console.log(event);
            var li_name = $(this).attr("name");
            var li_text = $(this).text();
            console.log(li_name);
            console.log(li_text);
        })
    })
</script>
</body>
</html>